class AddIdImagesTags < ActiveRecord::Migration
  def self.up
    execute "ALTER TABLE `images_tags` ADD id INT UNSIGNED NOT NULL AUTO_INCREMENT, ADD PRIMARY KEY (id)"
  end

  def self.down
    remove_column :images_tags, :id
  end
end
